<extend name="Base/common"/>
<!--<script type="text/javascript" src="/SG_Shopwechat/Public/Home/js/iscroll.js"></script>-->
<block name="TITLE"><title>采购申请</title></block>
<block name="body" >
    <header data-am-widget="header" class="am-header am-header-default am-header-fixed">
        <div class="am-header-left am-header-nav">
            <a href="{:U('Purchase/index')}" class="">
                <i class="am-header-icon am-icon-home" style="font-size: 40px;"></i>
            </a>
        </div>
        <h1 class="am-header-title">
            <a href="#title-link" class="">
                &nbsp;{$title}
            </a>
        </h1>

    </header>
    <div class="  am-list-news-bd" >
        <ul class="am-list">
            <volist name='_list' id='product'>
                <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left">
                    <div class="am-g  am-g-collapse">
                        <div class="am-u-sm-3">商品名称</div>
                        <div class="am-u-sm-3"><span class="am-badge am-badge-warning">{$product.proName}</span></div>
                        <div class="am-u-sm-3">商户</div>
                        <div class="am-u-sm-3"><span class="am-badge am-badge-warning">{$product.shopName}</span></div>

                    </div>
                    <!---->
                    <div class="am-g  am-g-collapse">
                        <div class="am-u-sm-3">规格</div>
                        <div class="am-u-sm-3"><span class="am-badge am-badge-warning">{$product.spec}</span></div>
                        <div class="am-u-sm-3">往期价格</div>
                        <div class="am-u-sm-3"><span class="am-badge am-badge-warning">{$product.oldPrice}</span></div>

                    </div>
                    <div class="am-g  am-g-collapse">
                        <div class="am-u-sm-3">数量</div>
                        <div class="am-u-sm-3"><span class="am-badge am-badge-warning">{$product.number},{$product.id}</span></div>
                        <div class="am-u-sm-6"><a href="{:U('Purchase/editPurchase?id='.$product['id'])}" class="am-badge am-badge-danger ajax-get">准备采购，转入采购单</a></div>
                    </div>
                </li>
            </volist>
        </ul>
    </div>
</block>